<template>
    <div> {{persons.title}}
      <slot/>
    </div>

</template>

<script>
export default {
  name: "slotDemo",
  props:['persons'],
  data(){
    return{

    }
  },
  methods:{

  }
}
</script>

<style scoped>
div{
  display: flex;
  justify-content: space-between;
  width: 500px;
  margin: 0 auto 10px;
  padding: 10px;
  border:solid 1px #212020;
}
</style>